1 00:00:00,600 --> 00:00:01,340 Hello all. 2 00:00:01,440 --> 00:00:03,600 Let's have a peek. 3 00:00:03,690 --> 00:00:07,160 The game we are going to create. 4 00:00:09,720 --> 00:00:10,060 All right. 5 00:00:10,080 --> 00:00:14,050 This is the game we will be creating. 6 00:00:14,200 --> 00:00:26,190 So you have the objective of the game is to use the paddle which is this orange rectangle here to control 7 00:00:26,220 --> 00:00:31,430 the ball so that he doesn't touch the bottom of the campus. 8 00:00:31,650 --> 00:00:35,690 So if the bottle touches the bottom of the canvas then you lose the game. 9 00:00:35,700 --> 00:00:44,940 Also you need to try and see that he can hit the ball use the ball to hit the brakes so was a ball bounces 10 00:00:44,940 --> 00:00:46,990 off any of the breaks. 11 00:00:47,250 --> 00:00:48,300 You get a point. 12 00:00:48,300 --> 00:00:50,170 So your score would be recorded there. 13 00:00:50,310 --> 00:00:54,590 Sorry that's me trying to play the game and explain how the same type. 14 00:00:54,660 --> 00:00:56,900 So that's the objective or Again in me. 15 00:00:57,030 --> 00:01:03,300 If you can hit knock off all the bricks were the ball and then you win the game. 16 00:01:03,300 --> 00:01:10,310 Thus the game logic for the bricks disappeared then you have won the game but if you allow the break 17 00:01:10,330 --> 00:01:13,170 the ball to touch the bottom of the canvas. 18 00:01:13,170 --> 00:01:17,300 You lose the game you get mazas Same game over. 19 00:01:17,580 --> 00:01:24,720 So that's what the game is on about so we'll start with a very blank calm but we'll quit the ball create 20 00:01:24,820 --> 00:01:29,510 the paddle which is a rectangle and they will create the breaks. 21 00:01:29,520 --> 00:01:34,280 Finally we create the score that will record or the score you get. 22 00:01:34,290 --> 00:01:37,180 Each time the ball hits the brick. 23 00:01:37,410 --> 00:01:41,900 So we'll create the logic that you used to lose the game. 24 00:01:42,010 --> 00:01:47,090 How we also create the logic that will enable you to win. 25 00:01:47,180 --> 00:01:49,260 All right thanks for watching. 26 00:01:49,260 --> 00:01:50,750 Let's get started.